<script setup lang="ts">
import MyDialog from './components/MyDialog.vue'
</script>

<template>
  <MyDialog>
    <template v-slot:Htitle>
      <h2>我是标题</h2>
    </template>
    <!-- 插槽简写 -->
    <template #Hbody>
      <p>我是内容</p>
    </template>
  </MyDialog>
</template>

<style></style>
